class Application {
  constructor({ server, database, config }) {
    this.server = server
    this.database = database
    this.config = config
  }
  async start() {
    await this.database.connect()
    // await this.database.sequelize.sync({ alter: true })
    await this.server.start()
  }
}

module.exports = Application
